home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-06-02 | 1.1 KB | 44 lines | [TEXT/PJMM] |
- unit Globals;
-
- interface
-
- type
- EventPtr = ^EventRecord; {For handling events from our ParamBlkPtr.ioMisc.}
-
- const
- TITLE = 'DASkeleton'; {Title for our window}
- MENUID = 1; {id for menu resource}
- HIERID = 2; {id for heiracle menu}
- ABOUTID = 1; {id of about dialog}
- MAINWINDOW = 1; {id for our main window}
- BUTTONID = 1; {id for our "Beep" button}
-
- hierMID = 236; {Menu id number for hierarcle menu. These menu id's must}
- {be in the range from 236-255}
-
- var
- ourMenu: MenuHandle; {Handle to our menu}
- hierMenu: MenuHandle; {Handle to our hierarcle menu}
- DAOpen: Boolean; {Was our DA opened already?}
- screenBounds: Rect; {The screen size for centering and dragging, etc...}
- theButton: ControlHandle; {Handle to our control}
- window: WindowPtr; {WindowPtr to our main window}
- dce: DCtlPtr; {Device control entry pointer}
-
- procedure SetUpA4;
- procedure RememberA4;
- procedure RestoreA4;
-
- implementation
-
- procedure SetUpA4;
- begin
- end;
- procedure RememberA4;
- begin
- end;
- procedure RestoreA4;
- begin
- end;
-
- end.